package com.myspring.mapper;

import com.myspring.entity.Pv;
import com.myspring.entity.PvExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PvMapper {
    long countByExample(PvExample example);

    int deleteByExample(PvExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Pv record);

    int insertSelective(Pv record);

    List<Pv> selectByExample(PvExample example);

    Pv selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Pv record, @Param("example") PvExample example);

    int updateByExample(@Param("record") Pv record, @Param("example") PvExample example);

    int updateByPrimaryKeySelective(Pv record);

    int updateByPrimaryKey(Pv record);
}